package com.waste.game.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.waste.game.entity.entitiytv.VideoBugJYBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional(rollbackFor = RuntimeException.class)
public interface VideoBugJYDao extends BaseMapper<VideoBugJYBean> {
    List<VideoBugJYBean> selectBug();
    List<VideoBugJYBean> selectJY();
    int deleteBug(@Param("id")Integer id);
    int deleteJy(@Param("id")Integer id);
    List<VideoBugJYBean> selectNoPlayer();
    int deleteNoPlayer(@Param("id")Integer id);
    //添加
    int fkInsert(@Param("fk")VideoBugJYBean videoBugJYBean);
    int jyInsert(@Param("jy")VideoBugJYBean videoBugJYBean);
    int noInsert(@Param("no")VideoBugJYBean videoBugJYBean);
}
